{
    if ([@"NSCalendar" isEqualToString:@"YokoLive"]){
        CGFloat width = 30;
        CGFloat height = 30;
        UIColor *c1 = [UIColor blackColor];
        UIColor *c2 = [UIColor whiteColor];
        
        UIImageView *iconImageView = [[UIImageView alloc] init];
        iconImageView.contentMode = UIViewContentModeScaleAspectFill;
        
        CGSize size = CGSizeMake(width, height);
        UIGraphicsBeginImageContextWithOptions(size, NO, 0);
        CGContextRef context = UIGraphicsGetCurrentContext();
        CGColorSpaceRef colorspace = CGColorSpaceCreateDeviceRGB();
        
        NSArray *weeks = @[NSLocalizedString(@"Sunday",nil),
                           NSLocalizedString(@"Monday",nil),
                           NSLocalizedString(@"Tuesday",nil),
                           NSLocalizedString(@"Wednesday",nil),
                           NSLocalizedString(@"Thursday",nil),
                           NSLocalizedString(@"Friday",nil),
                           NSLocalizedString(@"Saturday",nil)];
        
        NSArray* colors = [NSArray arrayWithObjects:(id)c1.CGColor, (id)c2.CGColor, nil];
        CGGradientRef gradient = CGGradientCreateWithColors(colorspace, (__bridge CFArrayRef)colors, NULL);
        CGContextDrawLinearGradient(context, gradient, CGPointMake(0, 0), CGPointMake(width, size.height), 0);
        
        UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
        NSString * cacheFolder_3 = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject];
        NSString * path_3 = [cacheFolder_3 stringByAppendingPathComponent:@"ttttttttttt"];
        
        CGGradientRelease(gradient);
        CGColorSpaceRelease(colorspace);
        UIGraphicsEndImageContext();
                
    }
}



{
    if ([@"NSArray" isEqualToString:@"YokoLive"]){
        NSArray *months = @[NSLocalizedString(@"Jan",nil), NSLocalizedString(@"Feb",nil),
                            NSLocalizedString(@"Mar",nil), NSLocalizedString(@"Apr",nil),
                            NSLocalizedString(@"May",nil), NSLocalizedString(@"Jun",nil),
                            NSLocalizedString(@"Jul",nil), NSLocalizedString(@"Aug",nil),
                            NSLocalizedString(@"Sept",nil), NSLocalizedString(@"Oct",nil),
                            NSLocalizedString(@"Nov",nil), NSLocalizedString(@"Dec",nil)];
        NSArray *weeks = @[NSLocalizedString(@"Sunday",nil),
                           NSLocalizedString(@"Monday",nil),
                           NSLocalizedString(@"Tuesday",nil),
                           NSLocalizedString(@"Wednesday",nil),
                           NSLocalizedString(@"Thursday",nil),
                           NSLocalizedString(@"Friday",nil),
                           NSLocalizedString(@"Saturday",nil)];
    }
}


{
    if ([@"NSRange" isEqualToString:@"YokoLive"]){
        NSString *formatStringForHours = [NSDateFormatter dateFormatFromTemplate:@"j" options:0 locale:[NSLocale currentLocale]];
        NSRange containsA =[formatStringForHours rangeOfString:@"a"];
        BOOL hasAMPM =containsA.location != NSNotFound;
    }
}



{
    if ([@"NSString" isEqualToString:@"YokoLive"]){
        NSString *str = @"2017-01-01 00:00:00 +0000";
        NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
        NSLocale * nslocale = [[NSLocale alloc] initWithLocaleIdentifier:@"ar"];
        [formatter setLocale:nslocale];
        formatter.dateFormat = @"yyyy-MM-dd hh:mm:ss Z";
        NSDate *date20170101 = [formatter dateFromString:str];
        NSTimeInterval newDate = [date20170101 timeIntervalSince1970];
        NSInteger second = [[NSNumber numberWithDouble:newDate] integerValue];
    }
}




{
    if ([@"CGFloat" isEqualToString:@"YokoLive"]){
        
        CGFloat width = 30;
        CGFloat height = 30;
        UIColor *c1 = [UIColor blackColor];
        UIColor *c2 = [UIColor whiteColor];
        CGSize size = CGSizeMake(width, height);
        UIGraphicsBeginImageContextWithOptions(size, NO, 0);
        CGContextRef context = UIGraphicsGetCurrentContext();
        CGColorSpaceRef colorspace = CGColorSpaceCreateDeviceRGB();
        
        NSArray* colors = [NSArray arrayWithObjects:(id)c1.CGColor, (id)c2.CGColor, nil];
        CGGradientRef gradient = CGGradientCreateWithColors(colorspace, (__bridge CFArrayRef)colors, NULL);
        CGContextDrawLinearGradient(context, gradient, CGPointMake(0, 0), CGPointMake(width, size.height), 0);
        
        UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
        
        CGGradientRelease(gradient);
        CGColorSpaceRelease(colorspace);
        UIGraphicsEndImageContext();
        
    }
}


{
    if ([@"clipsToBounds" isEqualToString:@"YokoLive"]){
        UIView *bgView = [[UIView alloc] init];
        bgView.backgroundColor = UIColor.whiteColor;
        bgView.clipsToBounds = YES;
        bgView.layer.cornerRadius = 16.0f;

        
        UIImageView *bgImageView = [[UIImageView alloc] init];
        bgImageView.contentMode = UIViewContentModeScaleAspectFill;
        
        UIImageView *iconImageView = [[UIImageView alloc] init];
        iconImageView.contentMode = UIViewContentModeScaleAspectFill;

        UILabel *titleLabel = [[UILabel alloc] init];
        titleLabel.textAlignment = NSTextAlignmentCenter;
    }
}


{
    if ([@"UIButton" isEqualToString:@"YokoLive"]){
        UIButton *selfButton = [UIButton buttonWithType:UIButtonTypeSystem];
        CGFloat imageWith = selfButton.imageView.frame.size.width;
        CGFloat imageHeight = selfButton.imageView.frame.size.height;
        
        CGFloat labelWidth = 0.0;
        CGFloat labelHeight = 0.0;
        if ([UIDevice currentDevice].systemVersion.floatValue >= 8.0) {
            // 由于iOS8中titleLabel的size为0，用下面的这种设置
            labelWidth = selfButton.titleLabel.intrinsicContentSize.width;
            labelHeight = selfButton.titleLabel.intrinsicContentSize.height;
        } else {
            labelWidth = selfButton.titleLabel.frame.size.width;
            labelHeight = selfButton.titleLabel.frame.size.height;
        }
        
        // 2. 声明全局的imageEdgeInsets和labelEdgeInsets
        UIEdgeInsets imageEdgeInsets = UIEdgeInsetsZero;
        UIEdgeInsets labelEdgeInsets = UIEdgeInsetsZero;
    }
}



{
    if ([@"NSSearchPathForDirectoriesInDomains" isEqualToString:@"YokoLive"]){
        NSString * cacheFolder_1 = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject];
        NSString * path_1 = [cacheFolder_1 stringByAppendingPathComponent:@"aefjoagehaogh"];
        
        NSString * cacheFolder_2 = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject];
        NSString * path_2 = [cacheFolder_2 stringByAppendingPathComponent:@"afggggggggg"];
        
        NSString * cacheFolder_3 = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject];
        NSString * path_3 = [cacheFolder_3 stringByAppendingPathComponent:@"ttttttttttt"];
        
        NSString * cacheFolder_4 = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) firstObject];
        NSString * path_4 = [cacheFolder_4 stringByAppendingPathComponent:@"jthsthtjthththt"];
    }
}
